/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.yuhanginfo.modules.sys.entity;

import org.hibernate.validator.constraints.Length;

import com.yuhanginfo.common.persistence.DataEntity;

/**
 * 制造商品牌Entity
 * @author lvls
 * @version 2017-09-26
 */
public class Vender extends DataEntity<Vender> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 厂家名称
	private Integer type;		// 品牌分类
	private Integer isMyself;		// 是否自主品牌:0否，1是
	private String queryName;
	private Integer queryType;
	
	public Vender() {
		super();
	}

	public Vender(String id){
		super(id);
	}

	@Length(min=0, max=100, message="厂家名称长度必须介于 0 和 100 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
	
	public Integer getIsMyself() {
		return isMyself;
	}

	public void setIsMyself(Integer isMyself) {
		this.isMyself = isMyself;
	}

	public String getQueryName() {
		return queryName;
	}

	public void setQueryName(String queryName) {
		this.queryName = queryName;
	}

	public Integer getQueryType() {
		return queryType;
	}

	public void setQueryType(Integer queryType) {
		this.queryType = queryType;
	}
	
}